import type { PageVO } from "../page-type";

export type DictVO = {
    guid: string;
    code: string;
    name: string;
    dictType: string;
    orderBy: number;
    ctime: string;
    cuser: string;
}
export type QueryDictVO = {
    dictType: string
} & PageVO;
export const DictTypeList: { type: string, name: string }[] = [{
    type: "REPAIR_SITE",
    name: "维修站点"
}, {
    type: "WARRANTY",
    name: "质保状态"
}, {
    type: "REPAIR_STATE",
    name: "维修状态"
}, {
    type: "PAY_TYPE",
    name: "支付方式"
}, {
    type: "INVOICE_TYPE",
    name: "发票类型"
}, {
    type: "PRODUCT",
    name: "产品"
}, {
    type: "CUSTOMER",
    name: "客户"
}, {
    type: "MATERIAL",
    name: "物料"
}, {
    type: "PURCHASE_COMPANY",
    name: "采购主体"
}, {
    type: "LOGISTICS_COMPANY",
    name: "物流公司"
}, {
    type: "ROLE",
    name: "角色"
}]
export const DictTypeEnum = {
    /**
     * 维修站点
     */
    REPAIR_SITE: "REPAIR_SITE",
    /**
     * 质保状态
     */
    WARRANTY: "WARRANTY",
    /**
     * 维修状态
     */
    REPAIR_STATE: "REPAIR_STATE",
    /**
     * 支付方式
     */
    PAY_TYPE: "PAY_TYPE",
    /**
     * 发票类型
     */
    INVOICE_TYPE: "INVOICE_TYPE",
    /**
     * 产品
     */
    PRODUCT: "PRODUCT",
    /**
     * 客户
     */
    CUSTOMER: "CUSTOMER",
    /**
     * 物料
     */
    MATERIAL: "MATERIAL",
    /**
     * 采购主体
     */
    PURCHASE_COMPANY: "PURCHASE_COMPANY",
    /**
     * 物流公司
     */
    LOGISTICS_COMPANY: "LOGISTICS_COMPANY",
    /**
     * 角色
     */
    ROLE: "ROLE"
}